import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入全局的样式
import './assets/global.less'
//导入axios
import axios from 'axios'
// 配置根地址

axios.defaults.baseURL = 'http://big-event-vue-api-t.itheima.net'
//把 axios 挂载到 Vue.prototype 上
Vue.prototype.$http = axios

//导入elm
import ElementUI from 'element-ui';
//导入elm 样式
import 'element-ui/lib/theme-chalk/index.css';





Vue.config.productionTip = false
//注册elm
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
